#pragma once
#include "WareTypes.h"
#include "WareEngineNameSpace.h"

BEGIN_WARE

class IRefCount
{
public:
	IRefCount() : m_uRef(0) {}
	virtual ~IRefCount() {}

	uint32	AddRef()		{ return ++m_uRef; }
	uint32	Release()		{ return --m_uRef; }
	uint32	GetRef()		{ return m_uRef; }
	
protected:
	uint32		m_uRef;
};

END_WARE